package _2工具类;

import java.sql.SQLException;
import java.util.List;

public interface IGoodDAO {
	// rlJ
	int insert(Good d) throws SQLException;

	int deleteById(int goodid) throws SQLException;

	int update(Good d) throws SQLException;

	Good findById(int goodid) throws SQLException;

	List<Good> findAll() throws SQLException;
}
